import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    arr:[],
    crr:"333",
    mycts:"广州",
    myctsid:20,
    cinemaId:null
  },
  mutations: {
    addArr(state,n){
      console.log(state.arr,n);
        state.arr.push(n)

    },
    chengShi(state,n){
      state.mycts = n
     
    },
    chengShiID(state,n){
      state.myctsid = n
     
    },
    yinYuanID(state, id){
      state.cinemaId = id
    }

  },
  actions: {
  },
  modules: {
  }
})
